package com.sdsy.blockchaintrainingback.pojo.training;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdsy.blockchaintrainingback.mapper.BaseMapperX;
import com.sdsy.blockchaintrainingback.pojo.common.BaseDO;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 实训与容器环境的关联信息。
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("training_env_relation")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TrainingEnvRelation extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 实训ID */
    private Integer trainingId;

    /** 环境ID */
    private Integer envId;

    /** 容器名称 */
    private String containerName;

    /** 容器数量 */
    private Integer containerCount;
}

